const userModule = {
  namespaced: true,
  state () {
    return {
      token: '',
      refreshToken: ''
    }
  },
  mutations: {
    setToken (state, tokenStr) {
      state.token = tokenStr
    },
    setRefreshToken (state, refreshTokenStr) {
      state.refreshToken = refreshTokenStr
    }
  }

}

export default userModule
